<%= form_for @obj do %>
  <%= radio_group(:foo, [{:value => 'bar', :label => 'Bar', :id => 'bar_id'}]) %>
<% end =%>
